package me.sealer.ssm.service;

import me.sealer.ssm.model.ChinaArea;
import me.sealer.ssm.page.PageResult;

import java.util.List;

/**
 * 功能描述： $ ChinaAreaService
 *
 * @author sealer
 * @email 1178884049@qq.com
 * @date 2019年11月15日 13时43分43秒
 */
public interface ChinaAreaService {
    List<ChinaArea> queryAreaList(String name);

    PageResult<ChinaArea> queryAreaList(String name, Integer level, Integer zipCode, String cityCode, Long code, Long parentCode, Integer pageNo, Integer pageSize);

    Integer countAreaList(String name, Integer level, Integer zipCode, String cityCode, Long code, Long parentCode);

    List<ChinaArea> queryAreas(int level);

    List<ChinaArea> queryAreas(int level, long cityCode);
}
